Functions: f a b c
Constructors: a b
Variables: X
Arities:
ar(f) = 3
ar(a) = 0
ar(b) = 0
ar(c) = 0
Replacement map:
µ(f)={1,3}
µ(a)={}
µ(b)={}
µ(c)={}
Rules: (file Ex9_Luc04)
f(a,b,X) -> f(X,X,X)
c -> a
c -> b
obj Ex9_Luc04 is sort S . op f : S S S -> S [strat (1 3 0)] . op a : -> S . op b : -> S . op c : -> S . vars X : S . eq f(a,b,X) = f(X,X,X) . eq c = a . eq c = b . endo
[f](x,y,z) = [(xy + z)+(x + yz)]/y
= [x(y+1) + z(y+1)]/y
= x + zy^-1 + xy^-1 + z
[a] = 2
[b] = 1
[c] = 3
There is only one dependency pair:
F(a,b,X) -> F(X,X,X)with µ(F)={1,3}. Although there is a cycle in the dependency graph, no infinite chain is possible due to the replacement restrictions for F.